package com.example.demo.demos.web.repository;

import com.example.demo.demos.web.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface UserRepository extends JpaRepository<User,Integer> {
    public User findByName(String name);
    public List<User> findByNameLike (String name);
}
